package com.zzyl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
//@ComponentScan({"com.zzyl.web","com.zzyl.nursing"})
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableScheduling
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  天韵启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " ________  ___  __        ___    ___ ________  ___  ___      ___    ___ _____ ______   _______      \n" +
                "|\\   ____\\|\\  \\|\\  \\     |\\  \\  /  /|\\   __  \\|\\  \\|\\  \\    |\\  \\  /  /|\\   _ \\  _   \\|\\  ___ \\     \n" +
                "\\ \\  \\___|\\ \\  \\/  /|_   \\ \\  \\/  / | \\  \\|\\  \\ \\  \\\\\\  \\   \\ \\  \\/  / | \\  \\\\\\__\\ \\  \\ \\   __/|    \n" +
                " \\ \\_____  \\ \\   ___  \\   \\ \\    / / \\ \\   _  _\\ \\   __  \\   \\ \\    / / \\ \\  \\\\|__| \\  \\ \\  \\_|/__  \n" +
                "  \\|____|\\  \\ \\  \\\\ \\  \\   \\/  /  /   \\ \\  \\\\  \\\\ \\  \\ \\  \\   \\/  /  /   \\ \\  \\    \\ \\  \\ \\  \\_|\\ \\ \n" +
                "    ____\\_\\  \\ \\__\\\\ \\__\\__/  / /      \\ \\__\\\\ _\\\\ \\__\\ \\__\\__/  / /      \\ \\__\\    \\ \\__\\ \\_______\\\n" +
                "   |\\_________\\|__| \\|__|\\___/ /        \\|__|\\|__|\\|__|\\|__|\\___/ /        \\|__|     \\|__|\\|_______|\n" +
                "   \\|_________|         \\|___|/                            \\|___|/                                  ");
    }
}
